package com.lagou.SqlSessionFactory;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;

import java.beans.IntrospectionException;
import java.sql.SQLException;
import java.util.List;

/**
 * <pre>
 * 描述：TODO
 * </pre>
 *
 * @类名：com.lagou.SqlSessionFactory.Executer
 * @作者 mengwei
 * 创建日期：2020/9/28 13:33
 */
public interface Executer {
    <T> List<T> query(Configuration configuration, MappedStatement mappedStatement, Object[] params) throws Exception;
    int modify(Configuration configuration, MappedStatement mappedStatement,Object ...params) throws Exception;

}
